<div data-bind="dxDropDownMenu: { buttonText: 'Show menu', dataSource: dropDownMenuData, activeStateEnabled: enableActiveState }"></div>
<div class="dx-fieldset">
  <div class="dx-field">
    <div class="dx-field-label">Active state</div>
    <div class="dx-field-value" data-bind="dxSwitch: { value: enableActiveState }"></div>
  </div>
</div>